home *** CD-ROM | disk | FTP | other *** search
- setTimeCanvas 1.1.2
- September 19, 1999
- ©1999 Michael Rosander
-
- setTimeCanvas is a custom class that can be used for user input of time.
-
- setTimeCanvas is free to use in any of your projects.
- The only thing I ask is that you give credit to me in your apps about box
- or documentation if you use it.
-
- In the new event "setClock" you can set the initial conditions for the control, eg.
- me.show24 as boolean true: 24 hours, false: 12 hours
- me.show12 as boolean true: 12 (or 24) will be shown, false: jumps from 11 to 00 (23 to 00)
-
- me.cHour as integer set initial hour (or get hour)
- me.cMinute as integer set initial minute (or get minute)
- me.cSecond as integer set initial seconds (or get second)
- me.isPM as boolean (if show24=false) true: PM, false: AM
-
- me.theFont as string set the text font, eg. "Charcoal"
- me.isBold as boolean set to true if the font should be bold
-
- v1.1.2 (September 19, 1999)
- - no changes to the class, but added code that show how to use arrow keys to change
- selection and increase/decrease (as suggested by HIG)
- v.1.1.1 (September 15, 1999)
- - [Bug fix]: if changing to "show 00:00" from "show 12:00" when the hour is 00 no longer result in strange hours... (stupid bug introduced with 1.1)
- v1.1 (September 14, 1999)
- - You can now use any font and the size of the control (and selection areas) will adjust itself
- - you can set the font to bold
- - [BUG fix]: the transition is now correct from 11 -> 00 or 12 (23 -> 00 or 24)
- v1.0
- - first release...
- __________________________
- michael.rosander@home.se
- http://www.liu.se/ipp/rb/rb.html